My solutions to the USACO training gateway problems