Flexible Polymers in Nanopores