Added scoring mechanism between function declarations, use is to check implemented functions for correctness

Closes #805