Find Index Of Element In Int Array Java