Initial commits

Putting all algorithms at one place.