Final homework for course "Ubiquitous Computing"