Adding while examples. Also added new keywords learned which was missed out in my previous commit.