added first and rest methods
added first and rest methods
added every, some, indexOf and lastIndexOf methods