Code for Mind Sumo competition, creating indices based on similar stock price behavior