Added listen_and_accpet function.

listen_and_accept(sock, backlog):
	Description:
		takes a socket and the max number of backlog connects, then listens and accepts
	params:
		sock: the socket to listen/accept on
		backlog: max number of sockets to backlog
	return: the return value of sock.accept()