Implemented contr table.
Added to_string overload.