Implemented Shape methods in Rectangle