Implemented java.util.Map isEmpty and size