Update on commands() method in MyShell so that it returns Iterable<CommandShell>, class SimpleHashTable implements Itareble<SimpleHashTable.TableEntry> ,filter still needs implementation