a start on getting the logs/cars to move

output is still buggy, but better logic.