Added debugging code

Prints out the arrays, linked lists and arraylists in logcat