finish hw 5

further tune needed for understanding the elementray prices