How to check if a tree is balanced in Java

Added 2 different Tree Balancing checks.

Added getters on TreeNode.