fix to battleship, adding back in firstChar with var declaration