working principle of virus in computer