Add function signature
Implement function to find dupliate in array