add merge sort
add tictactoe check