My project for programming competition class.