Solved insertion sort in python

Signed-off-by: Ionut Radu <ihonius@gmail.com>