My algorithm exercise implementations.