Utilities for my CS 133 class