Homework 3 submission v2

Fixed bug on params[:goal]. Needed to save it as and compare as a
string, not an int