Implemented isPerfectTree method

Implemented method which checks if a tree is a perfect tree.
A tree is perfect if it is full and if all its leaves are on the same
level. The isFullTree method is already implemented.
Added these helping functions:
allLeavesSameLevel - checks to see if all the leaves in a tree are same
level
leafSeeker - helping function to allLeavesSameLevel