Added a basic autonomous mode and code for loading and shooting.