Move code from main.cpp file to integer_sequence file.