Project 2 for BYU CS 240