Fixed all known bugs...still have to test the trivial methods...like isempty and shit