added solution for levelOrderToString