clean up formatting and turtle x, y code