Scheduling Algorithm for Wireless Communication Networks