completed all functions in logic.c and updates the headers in logic.h
Merge branch 'master' of https://github.com/mks65-dw/final