fixed main

python is different to c, also we don't know what serial is, probably in
my OS on the pi