Add a refactor tool

kr2ansi converts old style K&R function definitions to ANSI style.