Implemented scala actors