For use with the BYU-Idaho Java CS 246 class