Starting week 5 material
finished calculating cost (without gradient)