Fixed a bug with unions. Also made README better`