bubble, insertion, select sorting implemented