updates main ino, removes toBin.c and makefile

Makefile and toBin.c are not being used directly
for the arduino, therefore we should not be
worryng about they.

This commit mainly updates the checkSerial method
but it also refactor a bit the code as a whole.
updates main file to work. Needs perf imrpov
improves perf
Merge pull request #2 from MateusZitelli/feat/checkserial

Make it Work! Updates checkSerial and refactor