Assignment 5 for cmput410