I slammed on my breaks and was hit from behind.
Why would you slam on your breaks?
I was trying to purposely crash into someone
Why would you purposely want to cause an accident? Slamming the breaks will usually get your car rear-ended and you should not have done that. It's dangerous and you could have caused the death of others.
I thought causing an accident would save me time over sitting in traffic.
But it sounds like you were intentionally trying to cause this accident, which is terrible. You should never slam on your breaks while driving in the future.