added a few more problems on arrays