Implemented insertion sort (rev. 6_b2)

Signed-off-by: nixnodes <code@eth.si>