Rewritten server to handle coordinates from multiple clients