Term: dicking around
Example: the teacher was pissed because the guys in the back row wouldn't quit dicking around
Definition: messing around, screwing around, jacking around, or just wasting time doing pointless things in some other way