[1-Max Example]: Wrote the 1-max fitness function

Wrote the 1-max fitness function class, and added genome length as a parameter
to make life a little easier.

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