prototype chain fixed

udacity online classroom was pretty helpful. Thanks.