Arduino code as of judging on 7/12