Some solutions for excercises from <<Computational physics>> by Thomas Newman