application to be run on machines connected in same network

I have a set up of 5 machines which are connected in same network.

Now i want to run a small application so that those machines are not ideal.