Adding Java solutions for 1 Easy and 4 Moderate challenges.

Easy
- AgeDistribution
Moderate
- APileOfBricks
- DetectingCycles
- LowestCommonAncestor
- TrailingString