Implemented separate chaining hash table by using inner class Node