Start porting solution to F#