Adds trap and generic fitness definition
Adds, tests, and includes example with trap