Wrote a loop test code

It will display the compass everytime it goes through the loop. Change
the sleep() method to change display speed. To exit, move box to side to
easily press x