Create WhileLoop.cs

needs modified for unity