Added functions for CCV
Merge branch 'master' of https://github.com/jasonpeng/cs3246-assignment2