completed NumPy exercises