fixed segfault
Merge branch 'master' of https://github.com/insulinjunkie/cs460-cpp