Done for ECE190 machine problem 5. Compiled and ran on SE Linux machine