Computer Exercise 2 for ECE 281