Added homework file for W1D2 homework

added calc_homework.rb to homework folder.

it's awesome.