Reverse engineering the ece358 midterm based on the prompts we were given in class!