added examples to the readme and updated main.go to give an example of who one could use the rect package
defined what a rectangle is and also implemented IsRect(), which returns a bool whether the coordinates given make a rectangle or not. Tests were written for IsRect()