function isInBounds(point, bounds) {
      return (point.x > bounds.left && point.x < bounds.right && point.y > bounds.top && point.y < bounds.bottom);
    }
Checks if the point object is in the bounds object.
@param {object} point A point object.
@param {int} point.x The x value of the point.
@param {int} point.y The x value of the point.
@param {object} bounds The bounds object to test
@param {int} bounds.left The leftmost value
@param {int} bounds.right The righttmost value
@param {int} bounds.top The topmost value
@param {int} bounds.bottom The bottommost value