abstract classes for array & algos + selecet sort