added optimisation
added usage and information section to README file
fixed missing parentheses
moved struct option type to .c file
moved variable init at top of function