problem 2 of DIP hw 1. add Gaussian and salt-pepper noise.