Code for multiple device interaction for a school project.