Average Shopping Bill Problem check

Checked array access notation (it worked)
and converted back to original file afterwards