I have edited the heroObject.js and added a helperClass.js...read the extended descriptiion

bascially I just added a type to the constructor to indicate the kind
of hero being created and wrote a switch case for it...and commented it
out..the helper class is generic..