it compiles with warnings.

and then it hangs when it runs. :(