remove case function.
stage 6
remove rand
stage 7
stage 8
remove struct functions
stage 9
stage 10
stage 11
stage 12
basic completed.