Finish first version of FEN implementation.