Array utility functions removed

The head and tail functions were no longer needed, so I removed them.