Added starting point for algorithm implementation.