F# implementation of 2048 for bot testing