changed to 3 inputs

it's now more robust in terms of inputs, better comments, removed xml
tags, only lowercase output, more test cases, now using mcmaster colours
as test cases