Initial commit. Subroutine made. Passes commands to arduino reliably.
Working with new arduino syntax