MHacks 5 2nd place code