What was the purpose of the Little rock nine going to the high school?

To integrate an all-white school.

http://www.ducksters.com/history/civil_rights/little_rock_nine.php