Updated task1 coding style.