Added SDL code

Added SDL code for testing