Update Credit.java

Imported exisiting code