bootcamp python implementation of sickle