[Q5.5]calculate cost of flipping one number to the other