Added assignment 9

should be done.. maybe minor bug fixing.