Create lab3.py

Task 6 takes a different approach to finding "1,2,3" as a string. Instead of that I've made it so it finds all possible consecutive numbers.