Improved tests and implemented Rectangle along with other new methods