hw 2 ex2 predict