added code for starting using parameters , code::blocks refuses to compile in my desktop pc , commiting it commented