Semantics done.

Added while statement and merged all works.
@(*^ｪ^)@