This function receives two points and length of the side of rectangle and prints the 4 corner points of the rectangle
function printCorners ( p , q , l ) { let a = new Point ( ) , b = new Point ( ) , c = new Point ( ) , d = new Point ( ) ;