Refactor error probability
Merge branch 'master' of https://github.com/kinosker/Assignment-4
Refactored...