improve code formatting
Put algorithms into a separate foile algo.h