A pilot program in Estonia will begin teaching students to code in the first grade this year, with plans to expand across the country.