Final version for 1a
Fixed unidentified character error when ending )\n\n
Added testcases script, writing down output sucks