Changed rectangle constructor to use Point