Marshall scores 40, Pinkerton advances in Greater Lowell Holiday Classic