Set systems with k-wise L-intersections and codes with restricted Hamming distances. (November 2016)