Fixed divide by zero
Merge branch 'master' of https://github.com/kylelin47/COP-Project