Added println statements to determineAndDrawObject() for debugging
purposes