Saving The Princess in different Programming Languages