Integer to Roman Numberal

Write a program that converts a integer to a roman numeral string. I can't really describe it more, but here are some tests...

Examples

48 -> XLVIII
99 -> XCIX
1234 -> MCCXXXIV
500 -> D