#12: Fix compile warnings

use parameterized LinkedList