create function to calculate masses of each mass

Calculates velocity by normalizing position vectors, flipping the vector (reversing x and y) and multiplying it by a scalar v. This gives the velocity vector for each ringworld mass so each has a total velocity v.