Implement drop.

Implemented drop for arrays and added a test.