added the code which finds a binary tree is balanced or not
added the code which prints the value of the nodes at k level