Modified main.c

written simple logic for two players
Signed-off-by: root <root@sagar-vm.(none)>