added main loop

-added function to find the closest point (incomplete)
-added for loop to sort through the automata array
-added ability to compare the current point to its nearest neighbor and
move said point by the slope towards said neighbor