Added function elemIndex to SCL Prelude