Added intersects method in platform

Added a method, intersects, in Platform class, which checks whether a
point intersects with it, returning a boolean.