finished implementing straight line track generation