Updated readme and changed a coding style issue