Solving google code jam tasks with F#