Refactor complex logic to be more clear and straightforward
Handle prefixed units
Update README to give directions to run the program