change license text and change code style on K&R