Automatic

Added automatic firing and reloading functionality and fixed limit switch code