added firmata and modified code in sortBot.py