Specs for maxOrMinIndexFrom() function have been implemented