Simplified code functions in Rectangle.java and RectangleTester.java. Documented functions.