Fixed some homework errors