Wrote program to write BEAr to 7 segments