Linear motion estimation of left and right

Use space to print lines.
Use p to pause code and print lines.
Use t to stop sending messages to arduino and to stop it too.
Use #define isFile to toggle arduino usage.

Warning: The impact line is ridiculous and outright wastage of resources of the laptop. Still, I cite my rights as the author of this code that I can not be prosecuted for this wastage of precious resources of the country.