updating complexity of solution
scaffolding for future C problems