Adding mixcolumns function and rearranging all functions to have the subfunctions closer to the main functions.