point class and rectangle class