Added function drawTicks, based off of drawCurve. Drew initial lines on X and Y planes, setting up drawing of ticks.