Consider a communication system which transmits the two digits $~0~$and$~1~$ through several stages. Let $~X_0~$ be the digit transmitted initially (leaving) $~0^{\text{th}}~$ stage and $~X_n~,~n\ge 1~$ be the digit leaving the $~n^{\text{th}}~$ stage. At every stage there is a constant probability$~q~$that the digit which enters is transmitted unchanged and the probability$~p~$other wise with $~p+q=1~$. Show that $~X_n~:~n\ge 0~$ is a Markov chain.
As I am a newcomer in this session, I have no idea how to proceed. Any help in this matter is really appreciable. Thank You.
Note: Please give a complete solution, so that it will help me to solve the similar problems in future.