Added FEN calculating method - minor code clean