Adding getLastPoint() method and comments.