Data Structure Implementation's in Java