Basic programs in different languages