mem class and small fixes
judge memory for kata system added closing and changing graphy added to