Confined Polymers as Self-Avoiding Random Walks on Restricted Lattices