this is a simple recorsive method that print all leaves of a binary tree:

public static void level(Node n)
{
if(n!=null)
{
...