Final high school project dealing with a hash function, an inheritance hierarchy, and binary file read/write