Implemented selection sort, with junit testing.

Change-Id: I5cb4cee54f701288700571d3ddf32a248622b444