Changed main to example of Rectangle