Concurrent programming using actors