add java solution

Add solution to "Binary tree preorder traversal" problem