[Hierarchical 1-Max Example]: Wrote hierarchical 1-max example

Wrote a hierarchical version of the 1-max problem, to demonstrate how to
construct hierarchical GAs.

Signed-off-by: Sebastian Lenartowicz <slenarto@uoguelph.ca>