Implement functions, needs a few refinements.
Merge branch 'master' of https://github.com/Pieter2406/OGP_assignment