Math Quiz project for assignment 3