function added

costOfShoes is valid and working. Others are work in progress.