Write some comments and clean up code.
Write some comments and clean up code.

three/codeworld,parvmor/codeworld,pranjaltale16/codeworld,d191562687/codeworld,parvmor/codeworld,three/codeworld,nomeata/codeworld,stefan-j/codeworld,venkat24/codeworld,Ye-Yong-Chi/codeworld,pranjaltale16/codeworld,xwysp/codeworld,tgdavies/codeworld,d191562687/codeworld,alphalambda/codeworld,stefan-j/codeworld,stefan-j/codeworld,google/codeworld,Ye-Yong-Chi/codeworld,xwysp/codeworld,Ye-Yong-Chi/codeworld,google/codeworld,tgdavies/codeworld,nomeata/codeworld,nomeata/codeworld,parvmor/codeworld,alphalambda/codeworld,venkat24/codeworld,alphalambda/codeworld,three/codeworld,venkat24/codeworld,tgdavies/codeworld,d191562687/codeworld,pranjaltale16/codeworld,google/codeworld,xwysp/codeworld