added the function isFull in Table.java