added element types to struct and addjested hashing in Point

@8