The attacker confessed to police that he killed his flatmate because he didn't like his smoking habit