finished most of numpy ex 1