Implemented prog2.c and need to do testing on MC10 machine