Completed boolean parser and modified partition assignment algorithm according to that, also removed print statments used for debugging