added computeCost.cpp