Exercise 11 && 12 of lab1