Cleaned up line drawing process

Avoided tick function, set proper constants for step size, and wrote
drawLines function