CSS385-MP1 Solution Attempt