Fixed null pointer error in seperateChaining.java