Actor-Oriented Programming For Resource Constrained Multiprocessor Networks On Chip