This is Lab 6 for CS240