public static String insertAt(String sP, int indexP, double valueP, boolean shouldKeepDecimal) {
		/*
		 * My algorithm is this:
		 * Step 1: I will check if indexP is between 0 and less than the length of sP
		 * Step 2: Then I will evaluate if shouldKeepDecimal is set to false or true
		 * Step 3: If false I will convert valueP to an integer
		 * Step 4: I will insert valueP at the specified indexP
		 */
		int valuePinteger = (int) valueP;//<--this casts valueP to an int
		/*We need to check if indexP is between 0 and less than length of sP. If it doesn't fit
		 * this we will return sP.
		 */
		if (indexP >= 0 && indexP < sP.length()) {//<--this will check if index is between 0 and less than length of sP
			/*We need to next handle the parameter shouldKeepDecimal if this is set to false then
			 * we will need to convert valueP into an integer, if it is set to true we will insert
			 * valueP unaltered at indexP.
			 */
			if (shouldKeepDecimal == false) {//<--this statement checks if shouldKeepDecimal was passed in as false
				valueP = valuePinteger;//<--then we will convert to integer using the variable above
				/*Now at this point we will need to build our final string with valueP at the
				 * specified index. We will use the substring method to insert the valueP at
				 * the correct position in sP.
				 */
				String integerResult = sP.substring(0, indexP) + valuePinteger + sP.substring(indexP, sP.length());
				return integerResult;//<--this holds our result with valueP as an integer
			} else {//this statement will handle if shouldKeepDecimal is set to true
				/*Since valueP is given as a double we don't need to cast it to convert to something
				 * else. We will take valueP and insert it at the appropriate place as is using the
				 * substring method.
				 */
				String doubleResult = sP.substring(0, indexP) + valueP + sP.substring(indexP, sP.length());
				return doubleResult;
			}
		} else {//this will handle if indexP is greater than the length of sP or is a negative number
			return sP;//<-- we will return sP if that is the case without altering sP
		}
	}//end of method insertAt