Assignment 3 for EECE412