C++ Code that won 1st place in the University of Utah Design Day Train Competition