First commit by Guangyu i.e. newbie

Added html pages of each stage, and changes some functions accordingly.