Update SampleAI programs.
Refactor code to be more testable.
Merge branch 'master' of github.com:AI-comp/JAILovers