Amanda Knox has been exchanging letters with her co-defendant and ex-boyfriend where they talk about the messages they try to communicate to each other in the Perugia , Italy , courtroom during their murder trial .