can now get two coordinates and pass them into findMidPoint function, which will do the math of finding the midpoint between the two coordinates