changed List from linked list to slice as stroustrup recommends
added to forgotten files